import request from '../../utils/request'
import {CaptchaResult} from './type'

export const getCaptchaData=()=>{
  return request<any,CaptchaResult>({
    url:`/api/auth/getCaptcha`,
    method:'get'
  })
}